IAxis.Jog 方法
命令一個永不停止的控制運動以指定的速度移動。不同於 IAxis.MoveVelocity,Jog 沒有 BufferMode,它會持續移動直到重設寸動輸入才會停止。
命名空間:IntervalZero.KINGSTAR.Base.Class組合: IntervalZero.KINGSTAR.Base.Class (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
語法
IJogCommand Jog(
double velocity,
double acceleration,
double deceleration,
double jerk,
McDirection direction
)
Function Jog(
velocity As Double,
acceleration As Double,
deceleration As Double,
jerk As Double,
direction As McDirection
)As IJogCommand
參數
velocity
型別:double
指定速度的值。[單位/秒]
acceleration
型別:double
加速度值,單位由 McProfileType 決定(增加馬達電量)。[單位/秒2] 或 [秒]
deceleration
型別:double
減速度值,單位由 McProfileType 決定(減少馬達電量)。[單位/秒2] 或 [秒]
jerk
型別:double
加加速度值,單位由 McProfileType 決定。[單位/秒3] 或 [秒]
direction
型別:McDirection
吋動移動的方向,可為 mcPositiveDirection
或 mcNegativeDirection
。
回傳值
型別:IJogCommand
回傳一個吋動移動的屬性。
備註
因 Jog 持續控制著軸,當到達限制時將觸發錯誤。
參見